cast (someone or something) in the same type

Translations
mettre (quelqu’un ou quelque chose) dans le même moule
Definitions
To categorize or treat someone or something as being the same as others of a particular group, often without recognizing individual differences; to group together based on perceived similarities.